<template>
	<view class="blindbox_list_two">
		<view class="close" @click="$emit('close')">
			<image :src="`${baseImageUrl}/common/close1.png`"></image>
		</view>
		<view class="title">
			<view>购买盲盒</view>
		</view>
		<view class="header">
			<view class="item">
				<text>按价格排序</text>
				<image :src="`${baseImageUrl}/common/px.png`"></image>
			</view>
		</view>
		<scroll-view scroll-y class="scroll_view">
			<view class="item" v-for="item in 99">
				<view class="item_view">
					<view class="name">【江湖百晓生】</view>
					<view class="price">￥3000.00</view>
				</view>
				<view class="btn" @click="router('/pages/common/order_deta_two')">购买</view>
			</view>
		</scroll-view>
	</view>
</template>

<script>
</script>

<style scoped lang="scss">
	.blindbox_list_two {
		width: 100vw;
		height: 1110rpx;
		padding-top: 45rpx;
		box-sizing: border-box;
		background: url(#{$baseImageUrl}/bg/750_1110.png) no-repeat;
		background-size: 100% 100%;
		position: relative;

		.close {
			width: 122rpx;
			height: 122rpx;
			position: absolute;
			right: 0rpx;
			top: 0rpx;
			transform: translate(20rpx, -45rpx);
			z-index: 2;

			image {
				width: 100%;
				height: 100%;
			}
		}

		.title {
			display: flex;
			justify-content: center;
			align-items: center;

			view {
				width: 256rpx;
				height: 30rpx;
				line-height: 30rpx;
				text-align: center;
				color: #494338;
				font-size: 42rpx;
				font-weight: 400;
				font-family: LiSu;
				background: url(#{$baseImageUrl}/home/title.png) no-repeat;
				background-size: 100% 100%;
			}
		}

		.header {
			// height: 90rpx;
			padding-left: 60rpx;
			padding-top: 42rpx;
			box-sizing: border-box;
			display: flex;

			.item {
				width: 210rpx;
				height: 50rpx;
				padding: 0 20rpx;
				box-sizing: border-box;
				background: url(#{$baseImageUrl}/home/i4.png) no-repeat;
				background-size: 100% 100%;
				display: flex;
				justify-content: space-between;
				align-items: center;

				text {
					color: #FFFFFF;
					font-size: 28rpx;
					font-weight: 400;
					font-family: SimSun;
				}

				image {
					width: 13rpx;
					height: 18rpx;
				}
			}
		}

		.scroll_view {
			height: calc(100% - 92rpx - 30rpx);
			padding: 20rpx 48rpx 10rpx 40rpx;
			box-sizing: border-box;

			.item {
				height: 120rpx;
				color: #494338;
				font-size: 26rpx;
				font-weight: 400;
				font-family: SimSun;
				border-bottom: 1px solid rgba(163, 159, 160, 0.5);
				padding: 20rpx 18rpx;
				box-sizing: border-box;
				display: flex;
				justify-content: space-between;
				align-items: center;

				.item_view {
					height: 100%;
					display: flex;
					flex-direction: column;
					justify-content: space-between;

					.name {
						line-height: 28rpx;
						color: #494338;
						font-size: 28rpx;
						font-weight: 400;
						font-family: SimSun;
					}

					.price {
						color: #494338;
						font-size: 26rpx;
						font-weight: 400;
						font-family: SimSun;
					}
				}

				.btn {
					width: 140rpx;
					height: 70rpx;
					line-height: 70rpx;
					text-align: center;
					color: #FFFFFF;
					font-size: 30rpx;
					font-weight: 400;
					font-family: SimSun;
					background: url(#{$baseImageUrl}/common/btn.png) no-repeat;
					background-size: 100% 100%;
				}
			}
		}
	}
</style>